package com.example.websocketclusterspringbootstarter.config;

import com.example.websocketclusterspringbootstarter.aware.CommonInitAware;
import com.example.websocketclusterspringbootstarter.helper.TransferHelper;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * WebSocket 集群自动配置
 *
 * @author zhucc
 */
@Configuration
public class WebSocketClusterAutoConfiguration {



    @Bean
    public CommonInitAware commonInitAware() {
        return new CommonInitAware();
    }

    @Bean
    public TransferHelper transferHelper() {
        return new TransferHelper();
    }
}